//
//  MOTagView.h
//  MOPrefix
//
//  Created by MOiMac on 2021/7/2.
//

#import "YYLabel.h"
#import "NSMutableAttributedString+MOTagViewExt.h"
#import "MOTagMaker.h"
@class MOTagView;

@protocol MOTagViewDelegate <NSObject>

-(void)tagView:(MOTagView *)view didSelectTagAtIndex:(NSInteger)index;

@end

@interface MOTagView : YYLabel

@property (nonatomic, weak) id<MOTagViewDelegate> delegate;

/**
 *NSMutableAttributedString
 */
@property (nonatomic,strong) NSMutableAttributedString * tagAttr;

@end
